import request from '@/api/request'

// 技术参数列表
export const getTechniqueParamsList = (): any => {
  return request.get('/technique-params')
}

// 编辑技术参数
export const editTechniqueParamsApi = (id: string, data: any): any => {
  return request.post(`/technique-params/${id}`, data)
}
// 新增技术参数
export const addTechniqueParamsApi = (data: any): any => {
  return request.post('/technique-params', data)
}

// 删除技术参数
export const delTechniqueParamsApi = (id: string): any => {
  return request.delete(`/technique-params/${id}`)
}
